package com.xy.transfer.service.impl;

import com.xy.transfer.dao.CustomDao;
import com.xy.transfer.entity.Custom;
import com.xy.transfer.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class UserServiceImpl implements UserService {

    @Autowired
    CustomDao customDao;
    public Custom getUserInfo(String name) {
        return customDao.selectByName(name);
    }
}
